package com.xhui.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhui.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface BookDao extends BaseMapper<Book> {

    @Select("select * from tbl_book where id = #{id}")
    Book getBookById(Integer id);
}
